<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../vue.js"></script>
</head>
<body>
    <div id="didi-navigator">
        <ul>
            <li v-for="tab in tabs">
                {{ tab.text}}
            </li>
        </ul>
    </div>
    <script>
        new Vue({
            el:'#didi-navigator',
            data:{
                tabs:[
                    {text: '巴士'},
                    {text: '快车'},
                    {text: '出租'}
                ]
            }
        })
    </script>
    <script>
        var person = {
            name: "Nicholas",
            age: 29,
            job: "Software Engineer",
            sayName: function () {
                alert(this.name);
            }
        };
    </script>
</body>
</html>